package com.zimmur.restful.model;

import java.util.HashMap;
import java.util.Map;

import com.zimmur.model.fdfs.StorageFiles;

public class TopicPicture extends com.zimmur.model.zone.TopicPicture {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7443140520738208858L;

	private StorageFiles fileInfo;//图片信息
	
	private Map<String, Object> goods=new HashMap<>(); //图片对应的商品
    
	private float xPrecent=0.5F;//x轴比例
	
	private float yPrecent=0.5F;//y轴比例	
	
	public float getxPrecent() {
		return xPrecent;
	}
	public void setxPrecent(float xPrecent) {
		this.xPrecent = xPrecent;
	}
	public float getyPrecent() {
		return yPrecent;
	}
	public void setyPrecent(float yPrecent) {
		this.yPrecent = yPrecent;
	}
	public Map<String, Object> getGoods() {
		return goods;
	}
	public void setGoods(String key,Object object) {
		this.goods.put(key, object);
	}

	public StorageFiles getFileInfo() {
		return fileInfo;
	}

	public void setFileInfo(StorageFiles fileInfo) {
		this.fileInfo = fileInfo;
	}
}
